package com.fresh.liangyi.service;

import com.fresh.liangyi.dao.OrderMapper;
import com.fresh.liangyi.model.domain.Address;
import com.fresh.liangyi.model.domain.Goods;
import com.fresh.liangyi.model.domain.Order;

import java.util.List;

public interface OrderService {
    public Integer orderDetailsAdd(Integer gId, Integer aId) ;
    public Integer orderAdd(Order order);
    public List<Goods> showGoodsByOrderId(Integer orderId) ;
    public List<Order> showOrderByUserId(Integer userId);
    public Address getAddressByOrderId(Integer orderId);
    public Order selectOrderById(Integer orderId);
    public List<Order> showOrder();
    public Integer updateOrder(Order order);
}
